package es.ats.codington.festival.domain;


/**
 * The Class EventSignUp.
 */
public class EventSignUp {

	/** The event. */
	private Event event;
	
	/** The visitor. */
	private Visitor visitor;
	
	//Constructors
	
	
	/**
	 * Instantiates a new event sign up.
	 *
	 * @param event the event
	 * @param visitor the visitor
	 */
	public EventSignUp(Event event, Visitor visitor) {
		super();
		this.event = event;
		this.visitor = visitor;
	}
	
		
	/**
	 * Default Constructor.
	 */
	public EventSignUp() {
		super();
	}



	//Getters and Setters

	/**
	 * This method obtain the event.
	 *
	 * @return event
	 */
	public Event getEvent() {
		return event;
	}


	/**
	 *  This method changes the event.
	 *
	 * @param event the new event
	 */
	public void setEvent(Event event) {
		this.event = event;
	}
	

	/**
	 *  This method obtain the visitor.
	 *
	 * @return visitor
	 */
	public Visitor getVisitor() {
		return visitor;
	}

	/**
	 *  This method changes the visitor.
	 *
	 * @param visitor the new visitor
	 */
	public void setVisitor(Visitor visitor) {
		this.visitor = visitor;
	}
}
